#ifndef __Core_FileService_h__
#define __Core_FileService_h__

#include "Core/Service.h"

namespace Orca {

	//--------------------------------------------------------------------------
	class FileService : public Service {

		ORCA_DECLARE_SERVICE()

	public:
		virtual ~FileService() {}

		virtual bool readFile(
			  const Str &filename
			, uint8 *&outDataBuffer
			, uint32 &outDataLength) = 0;

		virtual bool writeFile(
			 const Str &filename
			, uint8 *inDataBuffer
			, uint32 inDataLength) = 0;

	};
}

#endif	// __Core_FileService_h__